
class GetCertificationTypeModel {
  String? cardId;
  bool? faceIsClose;
  String? headUrl;
  int? isPass;
  String? name;
  String? nickName;
  String? userAccount;
  String? userTel;

  GetCertificationTypeModel({this.cardId, this.faceIsClose, this.headUrl, this.isPass, this.name, this.nickName, this.userAccount, this.userTel});

  GetCertificationTypeModel.fromJson(Map<String, dynamic> json) {
    cardId = json["cardId"];
    faceIsClose = json["faceIsClose"];
    headUrl = json["headUrl"];
    isPass = json["isPass"];
    name = json["name"];
    nickName = json["nickName"];
    userAccount = json["userAccount"];
    userTel = json["userTel"];
  }

  static List<GetCertificationTypeModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(GetCertificationTypeModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["cardId"] = cardId;
    _data["faceIsClose"] = faceIsClose;
    _data["headUrl"] = headUrl;
    _data["isPass"] = isPass;
    _data["name"] = name;
    _data["nickName"] = nickName;
    _data["userAccount"] = userAccount;
    _data["userTel"] = userTel;
    return _data;
  }
}